package edu.njit.hz278.bean;

import javax.validation.constraints.Min;


/**
 * PatientHasAllergy.
 * 
 * @author Rivers Zhang
 * 
 */
public class PatientHasAllergy {
	@Min(1)
	private int pNum;
	private int allergyCode;

	public int getpNum() {
		return pNum;
	}

	public void setpNum(int pNum) {
		this.pNum = pNum;
	}

	public int getAllergyCode() {
		return allergyCode;
	}

	public void setAllergyCode(int allergyCode) {
		this.allergyCode = allergyCode;
	}

}
